<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>登录</title>
    <script src="./js/thirdparty/qs.min.js"></script>
    <script src="./js/vue.js"></script>
    <link href="https://cdn.bootcdn.net/ajax/libs/element-plus/2.3.3/index.css" rel="stylesheet">
    <script src="https://unpkg.com/vue-router@next"></script>
    <script src="https://cdn.bootcdn.net/ajax/libs/element-plus/2.3.3/index.full.js"></script>
    <script src="./js/fetch.js"></script>
    <script src="./js/login.js"></script>
    <script src="./js/utils.js"></script>
    <link rel="stylesheet" href="./css/login.css">
</head>

<body>
    <!-- 背景图片 -->
    <div class="login-wrap" id="login">
        <div class="login-container">
            <div class="login-form">
                <h2 class="login-title">政务服务平台</h2>
                <el-form ref="loginFormRef" :model="loginForm" :rules="loginRules" label-width="120px" class="demo-ruleForm"
                    :size="formSize" status-icon>
                    <el-form-item label="用户名：" prop="name">
                        <el-input v-model="loginForm.name" />
                    </el-form-item>
                    <el-form-item label="密码：" prop="password">
                        <el-input v-model="loginForm.password" />
                    </el-form-item>
                    <el-form-item label="" prop="isRemember">
                        <el-checkbox v-model="isRemember" label="记住我" />
                    </el-form-item>
                    <el-form-item>
                        <!-- <el-button type="primary" @click="submitForm(loginFormRef)">登录</el-button> -->
                        <el-button type="primary" @click="submitLoginForm(loginFormRef)" >登录</el-button>
                    </el-form-item>
                </el-form>
                <!-- <div class="login-input-wrapper">
	            <input type="text" class="login-input username" id="username" placeholder="请输入用户名或手机号">
            	<span class="error" id="username-error-text" style="display: none">请填写用户名或手机号</span>
                </div>
                <div class="login-input-wrapper final">
                    <input type="password" class="login-input password" id="password" placeholder="请输入密码">
                    <span class="error" id="password-error-text" style="display: none">请填写密码</span>
                </div>
                <p id="login-remember" class="login-remember">
                    <i class="login-remember-icon"></i>
                    记住我
                </p>
                <button class="login-btn">登录</button> -->
            </div>
        </div>
    </div>

    <script>
        var loginApp = loginPage();
    </script>

</body>

</html>